home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacGames Sampler
/
PHT MacGames Bundle.iso
/
MacSource Folder
/
Samples from the CD
/
C and C++
/
POSIX
/
ThinkCPosix
/
sys⁄dir.h
< prev
next >
Wrap
Text File
|
1992-09-14
|
329b
|
23 lines
/* $Id: $ */
/*
* "Dir.h" for the Macintosh.
* Public domain by Guido van Rossum, CWI, Amsterdam (July 1987).
*/
#pragma once
typedef struct {
long dirid;
int nextfile;
} DIR;
struct direct {
char d_name[FILENAME_MAX];
};
DIR *opendir(char *);
struct direct *readdir(DIR *);
int closedir(DIR *);
void rewinddir(DIR*);